@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>源数据管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-2">
                                <#NameCon id="resourceDataTypeName" name="名称" />
                            </div>
                            <div class="col-sm-2">
                                <#input id="roadnetName" name="所属" underline="true"
                                hidden="roadnetId" readonly="readonly"
                                clickFun="ResourceDataInfoDlg.showRoadnetOrStationSelectTree(); return false;"
                                style="background-color: #ffffff !important;"
                                selectFlag="true" selectId="roadnetTreeDiv" selectTreeId="roadnetTree" selectStyle="width:244px !important;"/>
                            </div>
                            <div class="col-lg-3 col-sm-3">
                                <#TimeCon id="startTime" name="开始时间" isTime="false"/>
                            </div>
                            <div class="col-lg-3 col-sm-3">
                                <#TimeCon id="endTime" name="结束时间" isTime="false"/>
                            </div>
                            <div class="col-sm-2">
                                <#button name="搜索" icon="fa-search" clickFun="ResourceData.search()"/>
                                <#button name="重置" icon="fa-search" clickFun="ResourceData.resetSearch()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="ResourceDataTableToolbar" role="group">
                            @if(shiro.hasPermission("/resourceData/add")){
                                <#button name="添加" icon="fa-plus" clickFun="ResourceData.openAddResourceData()"/>
                            @}
                            @if(shiro.hasPermission("/resourceData/update")){
                                <#button name="修改" icon="fa-plus" clickFun="ResourceData.openResourceDataDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/resourceData/delete")){
                                <#button name="删除" icon="fa-plus" clickFun="ResourceData.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/resourceData/delete/all")){
                            <#button name="清空源数据" icon="fa-plus" clickFun="ResourceData.deleteAll()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/resourceData/exportXlsByT")){
                            <#button name="下载车站模板" icon="fa-download" clickFun="ResourceData.exportXlsByT(1)" space="true"/>
                            @}
                            @if(shiro.hasPermission("/resourceData/exportXlsByT")){
                            <#button name="下载线路模板" icon="fa-download" clickFun="ResourceData.exportXlsByT(5)" space="true"/>
                            @}
                            @if(shiro.hasPermission("/resourceData/exportXlsByT")){
                            <#button name="下载区域中心模板" icon="fa-download" clickFun="ResourceData.exportXlsByT(9)" space="true"/>
                            @}
                            @if(shiro.hasPermission("/resourceData/exportXlsByT")){
                            <#button name="下载路网模板" icon="fa-download" clickFun="ResourceData.exportXlsByT(43)" space="true"/>
                            @}
                            @if(shiro.hasPermission("/resourceData/importExcel")){
                            <#uploadBtn name="上传" icon="fa-upload" id="uploadBtnId"/>
                            @}
                        </div>
                        <#table id="ResourceDataTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/data/resourceData/resourceData.js"></script>
<script src="${ctxPath}/static/modular/data/resourceData/resourceData_info.js"></script>
<script>
    laydate.render({
        elem: '#startTime'
    });
    laydate.render({
        elem: '#endTime'
    });
</script>
@}
